package logic

import (
	"context"

	"github.com/zeromicro/go-zero/tools/goctl/api/gogen/workspace/internal/domain"
	"github.com/zeromicro/go-zero/tools/goctl/api/gogen/workspace/internal/svc"
)

type User interface {
	UserHandler(ctx context.Context, req *domain.Request) (resp *domain.Response, err error)
	UserHandler2(ctx context.Context, req *domain.Request) (resp *domain.Response, err error)
}

type user struct {
	svcCtx *svc.ServiceContext
}

func NewUser(svcCtx *svc.ServiceContext) User {
	return &user{
		svcCtx: svcCtx,
	}
}

func (l *user) UserHandler(ctx context.Context, req *domain.Request) (resp *domain.Response, err error) {
	return
}

func (l *user) UserHandler2(ctx context.Context, req *domain.Request) (resp *domain.Response, err error) {
	return
}
